import {
	createSSRApp
} from "vue";
import App from "./App.vue";
import share from "./utils/share.js"
import {
	createPinia
} from 'pinia'
export function createApp() {
	const pinia = createPinia()
	const app = createSSRApp(App);
	app.mount('#app')
	app.mixin(share)
		app.use(pinia)
	app.config.warnHandler = () => null;
	return {
		app,
	};
}